package com.jzhao.gper.spring.v2.webmvc.servlet;

import java.util.Map;

/**
 * @author jzhao
 * @date 2020/4/9 23:32
 */
public class JZModelAndView {
    private String viewName;
    private Map<String,?> mdoel;

    public JZModelAndView(String viewName, Map<String, ?> mdoel) {
        this.viewName = viewName;
        this.mdoel = mdoel;
    }

    public JZModelAndView(String viewName) {
        this.viewName = viewName;
    }

    public String getViewName() {
        return viewName;
    }

    public void setViewName(String viewName) {
        this.viewName = viewName;
    }

    public Map<String, ?> getMdoel() {
        return mdoel;
    }

    public void setMdoel(Map<String, ?> mdoel) {
        this.mdoel = mdoel;
    }
}
